package my.client.service;

import java.util.List;

import my.client.model.VehHistSearchCriteria;
import my.client.model.Vehicle;

/**
 * VehicleHistoryServiceDelegator adapts the request/response sent/received from
 * vehicle history service. It delegates the work of marshaling/unmarshaling and sending the SOAP
 * requests to Spring's wsTemplate.
 * 
 * @author Nilaksh Bajpai
 */
public interface VehicleHistoryServiceDelegator {

	List<Vehicle> getVehicleHistory(VehHistSearchCriteria criteria);

	void addVehicleHistory(Vehicle vehicle);

}